package com.topcheer.common.base;

/**
 * @author xutao
 * @Package com.topcheer.common.base
 * @Description: ${todo}
 * @date 2020/3/29 21:31
 */
public class CommonConstants {

    public static final String SORT = "orderParam";
    public static final String CONTEXT_KEY_USER_ID = "currentUserId";
    public static final String CONTEXT_KEY_USERNAME = "currentUserName";
    public static final String CONTEXT_KEY_USER_NAME = "currentUser";
    public static final String CONTEXT_KEY_ROLE = "currentRole";
    public static final String CONTEXT_KEY_USER_TOKEN = "currentUserToken";
    public static final String USER_PRI_KEY = "AG:AUTH:JWT:PRI";
    public static final String USER_PUB_KEY = "AG:AUTH:JWT:PUB";
    public static final String ROLE_LIST = "roleList";
    public static final String ORG_ID = "orgId";
    public static final String AUTH_CODE = "authCode";
    public static final String PRIMARY = "primary";
    public static final Integer PWD_SALT = 17;
    public static final String DEFAULT_PASSWORD = "123456";
    public static final String ENABLED = "1";
    public static final String NO_ENABLED = "0";
    public static final String MENU_TYPE = "1";
    public static final String BTN_TYPE = "2";
    public static final String OPERATION_TYPE = "3";
    public static final String USER_PREFIX = "user:";
}
